WcJUpsellator\WooActions A

Total Complexity 72
Dependencies 10
Dependents 1
Total lines 454
Lines of code 267
Logical lines of code 145
Comment lines 98
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
changeItemPrice()
A
47 13 32
register()
A
39 9 69
markAsUpsell()
A
52 12 21
wc_timeline_fragments()
S
47 6 35
showBeforeSingleAddToCart()
S
59 5 13
markOrderProducts()
S
64 5 9
showUpsellatorLabel()
S
53 3 28
calculateTotalUpsell()
S
61 4 12
wc_timeline_update_qty()
S
61 3 12
calculateUpsellPrice()
S
63 3 9
preventCouponDiscountForUpsells()
S
78 2 3
wc_timeline_remove_item()
S
68 2 7
__construct()
S
91 1 2
checkoutUpsell()
S
91 1 2
checkoutUpsellFragment()
S
82 1 3
recalculateGifts()
S
69 1 7
cartPageUpsell()
S
87 1 3